package com.wsoft.dc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 待办实体对象
 * </p>
 *
 * @author Z001
 * @since 2024年12月17日 16:18:19
 */
@Getter
@Setter
@TableName("dc_config_entity")
@Schema(name = "DcConfigEntityEntity", description = "待办实体对象")
public class DcConfigEntityEntity extends BaseEntity {

    @TableField("config_id")
    private Long configId;

    @Schema(description = "属性名")
    @TableField("attribute")
    private String attribute;

    @Schema(description = "显示名称")
    @TableField("title")
    private String title;

    @Schema(description = "是否显示")
    @TableField("is_show")
    private Integer isShow;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "数据类型(默认、字典、用户、组织、岗位、职务级别、自定义枚举)")
    @TableField("type")
    private String type;

    @Schema(description = "数据类型值")
    @TableField("type_value")
    private String typeValue;

    @Schema(description = "是否唯一值")
    @TableField("is_key")
    private Integer isKey;

    @Schema(description = "是否查询条件")
    @TableField("is_query")
    private Integer isQuery;

    @Schema(description = "是否排序")
    @TableField("is_sort")
    private Integer isSort;
}
